package git.soulbgm.pojo;

import git.soulbgm.common.annotation.IdBuild;
import git.soulbgm.common.enumerate.IdType;
import lombok.Data;

import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.JoinTable;
import javax.persistence.ManyToMany;
import java.io.Serializable;
import java.util.List;

/**
 * 角色表
 *
 * @author SoulBGM
 * @version V1.0
 * @date 2019-09-23 00:13:29
 */
@Data
public class Role implements Serializable {

    private static final long serialVersionUID = -7769199850151173887L;
    /**
     * 主键
     */
    @Id
    @IdBuild(IdType.JDBC)
    private Integer id;

    /**
     * 角色名称
     */
    private String roleName;

    /**
     * 角色描述
     */
    private String roleDescription;

}